home *** CD-ROM | disk | FTP | other *** search
- ; Reduces the amount of ram in the machine
- ; DX=New amount of RAM to have.
-
- push es ; Save ES
- mov ax,040h ; Set extra segment to 040h
- mov es,ax ; (ROM BIOS)
- mov word ptr es:[013h],dx ; Store new RAM ammount
- pop es ; Restore ES
-
-